<?php

namespace Common\Lib\Payments\Offline;

use Common\Lib\Payments\PaymentPlugin;

/**
 * @class offline
 * @brief 线下支付
 */
class Offline extends PaymentPlugin {

    //支付插件名称
    public $name = '线下支付';

    public function doPay($sendData) {
        die("请通过线下支付的方式尽快付款");
    }

    /**
     * @see paymentplugin::notifyStop()
     */
    public function notifyStop() {
        
    }

    /**
     * @see paymentplugin::getSubmitUrl()
     */
    public function getSubmitUrl() {
        
    }

    /**
     * @see paymentplugin::getSendData()
     */
    public function getSendData($paymentInfo) {
        
    }

    /**
     * @see paymentplugin::callback()
     */
    public function callback($ExternalData, $paymentId, &$money, &$message, &$orderNo, &$tradeNo) {
        
    }

    /**
     * @see paymentplugin::serverCallback()
     */
    public function serverCallback($ExternalData, $paymentId, &$money, &$message, &$orderNo, &$tradeNo) {
        
    }

}